package day1;

public class HomeWork2 {
    public  static void main(String[] args) {
        int num1 = 10, num2 = 3;
        int res1 = num1 + num2; // 加法
        int res2 = num1 - num2;
        int res3 = num1 * num2;
        int res5 = num1 % num2;
        int res4 = num1 / num2; // 整数和整数运算后直接舍弃小数部分
        System.out.println(res1);
        System.out.println(res2);
        System.out.println(res3);
        System.out.println(res4);
        System.out.println(res5);

    }
}
